import React, { Component } from 'react'
import { Result, Button } from 'antd'
export default class index extends Component {
  render() {
    return (
      <Result
        status="404"
        title="404"
        subTitle="不好意思没有找到该页面"
        extra={
          <Button
            type="primary"
            onClick={() => {
              this.props.history.push('/home')
            }}
          >
            {' '}
            点击回主页
          </Button>
        }
      />
    )
  }
}
